namespace ext
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <summary>
	/// A simple class that renders text directly into a toolbar
	/// (with css class:&apos;xtb-text&apos;). Example usage:
	/// 
	/// new Ext.Panel({
	/// tbar : [
	/// {xtype: &apos;tbtext&apos;, text: &apos;Item 1&apos;} // or simply &apos;Item 1&apos;
	/// ]
	/// });
	/// </summary>
	/// <htmlSummary>
	/// A simple class that renders text directly into a toolbar
	/// (with css class:&lt;tt&gt;&apos;xtb-text&apos;&lt;/tt&gt;). Example usage:
	/// &lt;pre&gt;&lt;code&gt;
	/// new Ext.Panel({
	/// tbar : [
	/// {xtype: &apos;tbtext&apos;, text: &apos;Item 1&apos;} // or simply &apos;Item 1&apos;
	/// ]
	/// });
	/// &lt;/code&gt;&lt;/pre&gt;
	/// </htmlSummary>
	/// <definedin>src\widgets\Toolbar.js</definedin>
	[ScriptName("Toolbar.TextItem")]
	[ScriptNamespace("Ext")]
	[Imported()]
	public partial class Toolbar_TextItem : ext.Toolbar_Item
	{
		
		#region Constructors
		public Toolbar_TextItem(ext.Toolbar_TextItem_Configuration config)
		{
		}
		
		/// <summary>Constructor</summary>
		/// <param name="text">A text string, or a config object containing a &lt;tt&gt;text&lt;/tt&gt; property</param>
		public Toolbar_TextItem(string text)
		{
		}
		
		/// <summary>Constructor</summary>
		/// <param name="text">A text string, or a config object containing a &lt;tt&gt;text&lt;/tt&gt; property</param>
		public Toolbar_TextItem(object text)
		{
		}
		
		/// <summary>Constructor</summary>
		public Toolbar_TextItem()
		{
		}
		#endregion
		
		#region Fields
		/// <summary>The text to be used as innerHTML (html tags are accepted)</summary>
		/// <definedin>src\widgets\Toolbar.js</definedin>
		[ScriptName("text")]
		public string Text;
		#endregion
		
		#region Methods
		/// <summary>Updates this item&apos;s text, setting the text to be used as innerHTML.</summary>
		/// <definedin>src\widgets\Toolbar.js</definedin>
		/// <param name="t">The text to display (html accepted).</param>
		[ScriptName("setText")]
		public void SetText(string t)
		{
			throw new System.Exception("Imported - not implemented");
		}
		#endregion
	}
}
